<?php
/**
 * Created by PhpStorm.
 * User: changyifan
 * Date: 2018/3/13
 * Time: 上午11:42
 */

namespace Think\Model;
use Think\Model\AdvModel;

class BaseDao extends AdvModel{


    protected $tea_id;

    function _initialize(){
        $this->tea_id = session(C('USER_AUTH_KEY'));
    }

    public function getCurreentTeacherId(){
        return $this->tea_id;
    }

}